package com.security.constant;

/**
 * Redis 常量
 *
 * @author DblSun
 */
public class RedisConstant {
    // 签名
    public static final String TOKEN_SECRET = "security";
    // 模块
    public static final String ApplicationName = "login:";

    // 用户 token
    public static final String USER_TOKEN = "user:token";
    public static final Long USER_TOKEN_EXPIRE = 24L;

    // 用户信息
    public static final String USER_INFO = "user:info";
    public static final Long USER_INFO_EXPIRE = 24L;

    // 用户验证码
    public static final String USER_CAPTCHA = "user:captcha";
    public static final Long USER_CAPTCHA_EXPIRE = 1L;
}
